<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <mirrors>
    <mirror>
      <id>camunda-nexus</id>
      <mirrorOf>camunda-nexus</mirrorOf>
      <name>Camunda Nexus</name>
      <url>https://artifacts.camunda.com/artifactory/public/</url>
    </mirror>
  </mirrors>

  <profiles>
    <profile>
      <id>cockroachdb</id>
      <properties>
        <database.host>localhost</database.host>
        <database.port>26257</database.port>
        <database.name>postgres</database.name>
        <database.username>root</database.username>
        <database.password></database.password>
      </properties>
    </profile>
    <profile>
      <id>db2</id>
      <properties>
        <database.host>localhost</database.host>
        <database.port>50000</database.port>
        <database.name>engine</database.name>
        <database.username>camunda</database.username>
        <database.password>camunda</database.password>
      </properties>
    </profile>
    <profile>
      <id>h2</id>
      <properties>
        <database.host>${project.parent.basedir}/target/h2/</database.host>
        <database.port>9999</database.port>
        <database.name>process-engine</database.name>
        <database.username>sa</database.username>
        <database.password>sa</database.password>
      </properties>
    </profile>
    <profile>
      <id>mariadb</id>
      <properties>
        <database.host>localhost</database.host>
        <database.port>3306</database.port>
        <database.name>process-engine</database.name>
        <database.username>camunda</database.username>
        <database.password>camunda</database.password>
      </properties>
    </profile>
    <profile>
      <id>mysql</id>
      <properties>
        <database.host>localhost</database.host>
        <database.port>3306</database.port>
        <database.name>process-engine</database.name>
        <database.username>camunda</database.username>
        <database.password>camunda</database.password>
      </properties>
    </profile>
    <profile>
      <id>oracle</id>
      <properties>
        <database.host>localhost</database.host>
        <database.port>1521</database.port>
        <database.name>xe</database.name>
        <database.username>camunda</database.username>
        <database.password>camunda</database.password>
      </properties>
    </profile>
    <profile>
      <id>oracle-12</id>
      <properties>
        <database.name>orcl</database.name>
      </properties>
    </profile>
    <profile>
      <id>oracle-19</id>
      <properties>
        <database.name>orclcdb</database.name>
      </properties>
    </profile>
    <profile>
      <id>postgresql</id>
      <properties>
        <database.host>localhost</database.host>
        <database.port>5432</database.port>
        <database.name>process-engine</database.name>
        <database.username>camunda</database.username>
        <database.password>camunda</database.password>
      </properties>
    </profile>
    <profile>
      <id>sqlserver</id>
      <properties>
        <database.host>localhost</database.host>
        <database.port>1433</database.port>
        <database.name>process-engine</database.name>
        <database.username>camunda</database.username>
        <database.password>Camunda-BPM123</database.password>
      </properties>
    </profile>
    <profile>
      <!-- This profile must always be put last to ensure that
      the correct DB url is set when Testcontainers is used -->
      <id>testcontainers</id>
      <properties>
        <database.url>jdbc:tc:${database.tc.url}://localhost:${database.port}${database.tc.params}</database.url>
      </properties>
    </profile>
  </profiles>
</settings>
